/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wisnu.spms.source;

import com.wisnu.spms.service.dao.DbBillingDao;
import com.wisnu.spms.service.dao.DbStudentDao;
import com.wisnu.spms.service.entity.DbBilling;
import com.wisnu.spms.service.entity.DbStudent;
import com.wisnu.spms.service.util.SpringUtil;
import java.util.List;

/**
 *
 * @author Wisnu Wardoyo
 */
public class TestMain {

    /**
     * @param args the command line arguments
     * @throws java.lang.Exception
     */
    public static void main(String[] args) throws Exception {
        DbStudentDao studentDao = SpringUtil.getDbStudentDao();

        DbStudent student = studentDao.getStudentById(110001);
        
        DbBillingDao billingDao = SpringUtil.getBillingDao();
        List<DbBilling> list = billingDao.GetDbBillingBySemester(student, 1);

    }

}
